package com.xgure.properties;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * JWT配置类
 */
@ConfigurationProperties(prefix = "zhi.jwt")
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class JwtProperties {

    private String header;
    private String secretKey;
    private Integer expiration;

}
